package com.likersai.opon.pojo.entity;

import com.likersai.opon.pojo.bo.EntityBO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
/**
 * 历史年表(ChronologyChina)实体类
 *
 * @author LikerSai
 * @since 2024-01-14 23:51:19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@Table(name = "chronology_china")
public class ChronologyChina extends EntityBO {
    private static final long serialVersionUID = -81131200869208647L;
    
    /**
     * 主键
     */
    @Basic
    @Column(name = "id")
    private Long id;
    /**
     * 公元纪年
     */
    @Basic
    @Column(name = "common_era")
    private Integer commonEra;
    /**
     * CE公元，BCE公元前
     */
    @Basic
    @Column(name = "era_type")
    private String eraType;
    /**
     * 朝代
     */
    @Basic
    @Column(name = "dynasty")
    private String dynasty;
    /**
     * 年号
     */
    @Basic
    @Column(name = "reign_title")
    private String reignTitle;
    /**
     * 中国纪年
     */
    @Basic
    @Column(name = "cn_era")
    private String cnEra;
    /**
     * 农历月份
     */
    @Basic
    @Column(name = "lunar_month")
    private Integer lunarMonth;
    /**
     * 农历日
     */
    @Basic
    @Column(name = "lunar_day")
    private Integer lunarDay;
    /**
     * 历史事件简介
     */
    @Basic
    @Column(name = "events_introduction")
    private String eventsIntroduction;



}

